﻿<%@ Page Language="C#"  MasterPageFile="~/Shared/MainPage.Master"  AutoEventWireup="true" CodeBehind="BillReturnVisitList.aspx.cs" Inherits="Runda.CMS.Portal.ContractFollowUp.BillReturnVisitList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
 <asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
    <script src="../Content/global.js" type="text/javascript"></script>     
    <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" /> 
    <link href="../Content/Find/find.css" rel="stylesheet" type="text/css" />
   <link href="../Content/Grid/Grid.css" rel="stylesheet" type="text/css" /> 
    <script src="../Content/Grid/map_grid.js" type="text/javascript" ></script>
    <link href="../Content/Pager.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Content/jquery-1.3.2.js"></script>
<script type="text/javascript">
    function OpenDetail(id) {
        openMyWin('BillReturnVisit.aspx?EvaluationID=' + id, 'EvaluationInfo', 800, 600);
    }
   
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="server">

<div class="Container">
        <table id="appFind" class="find" cellspacing="0" cellpadding="0" border="0"> 
            <tbody>
                <tr height="23">
                    <td class="wizHead" colspan="7">
                        <table style="table-layout: fixed; font-size: 9pt" cellspacing="0" cellpadding="0" width="100%" height="100%">
                            <colgroup>
                                <col>
                                <col width="60">
                                <col width="60"> 
                                <tr><td style="color:#ffffff"><b>快速查询</b></td><td class="icMenu mnuRight" noWrap></td></tr>
                        </table>
                    </td>
                </tr>
                <tr id="__appFind_trQuery" height="40">
                    <td class="wizBox1" colspan="7">
                    <table id="__appFind_tbQuery1" style="TABLE-LAYOUT: fixed; FONT-SIZE: 9pt" height="100%" cellSpacing="0" cellPadding="0" width="100%"><col>
                    <tr>
                        <td align="right">服务单据号：</td>
                        <td><asp:TextBox ID="txtPaperInvoicesNo" runat="server" Width="100" CssClass="input"></asp:TextBox></td>
                        <td align="right">客户：</td>
                        <td><asp:TextBox ID="txtCustomerName" runat="server" Width="100" CssClass="input"></asp:TextBox></td>
                        <td align="right">仪器：</td>
                        <td><asp:TextBox ID="txtInstrumentName" runat="server" Width="100" CssClass="input"></asp:TextBox></td>
                        <td align="right">执行人：</td>
                        <td><asp:TextBox ID="txtMaintainer" runat="server" Width="100" CssClass="input"></asp:TextBox></td>
                        <td><asp:Button ID="btnSearch" runat="server" Text="查找" CssClass="button" 
                                onclick="btnSearch_Click"/></td></tr></table>
                    
                    </td>
                </tr>
            </tbody>
    </table>            
</div>

 <div class="Container">
         
         <table class="mnubar" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td style="padding-left: 5px" nowrap>
                        <b>回访列表</b>
                    </td>
                    <td style="padding-left: 5px">
                        <img src="../Content/Grid/separator.gif">
                    </td>
                    <td class="icMenu" nowrap>                   
                        
                    </td>       
                      <td class="icMenu mnuRight" nowrap>    
                        <span class="menu" onclick="openMyFullWin('BillReturnVisitSetting.aspx','BillReturnVisitSetting');">
                            <img class="mnuBtn" src="../Content/Grid/New_16_blue.gif"><span class="mnuBtn">回访设定</span></span>                 
                    </td>           
                </tr>
            </tbody>
        </table>       
         
        <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
        </div>
             <asp:Repeater ID="RepeaterEvaluation" runat="server"  
             onitemcommand="RepeaterEvaluation_ItemCommand" 
             onitemdatabound="RepeaterEvaluation_ItemDataBound">
                 <HeaderTemplate>
                    <table id="grid" class="grid" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="header">
                 <td align="middle" style="width:100px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">工作单据号</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td>
                    <td align="middle" style="width:60px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">执行人</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td>
                      <td align="middle" style="width:250px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">客户</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td>
                     <td align="middle" style="width:150px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">服务仪器</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td> 
                     <td align="middle" style="width:150px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">评定时间</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td> 
                    <td align="middle" style="width:60px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">评定人</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td> 
                    <td align="middle" style="width:50px"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">重点关注</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td> 
                    <td align="middle" style="width:300px%"> 
                    <div><div style="display:inline;float:left;height:auto; overflow:hidden;width:96%;text-align:center;">总体服务描述</div>
                        <div style="display:inline;float:right;height:auto; overflow:hidden;"><img src="../Content/Grid/bar_line.gif" border="0"></div>
                        </div>
                    </td> 
                    <td  style="width:15px">
                        <asp:ImageButton ID="imgbtnRefersh" CommandName="refersh" runat="server" ImageUrl="../Content/Grid/grid_Refresh.gif" AlternateText="刷新列表"/> 
                    </td>
                </tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                  <tr class="data" ondblclick="OpenDetail('<%#Eval("EvaluationID") %>')" onclick="handleClick()">
                    <td><asp:Label ID="maintainPaperNum" runat="server"></asp:Label><asp:Label ID="EvaluationID" runat="server" Text='<%# Eval("EvaluationID") %>' Visible="false"></asp:Label></td> 
                    <td><asp:Label ID="MaintainerName" runat="server"></asp:Label></td> 
                    <td><asp:Label ID="CustomerName" runat="server"></asp:Label></td> 
                    <td><asp:Label ID="InstrumentName" runat="server"></asp:Label></td>
                     <td><%# Eval("CreatedOn")  %></td>
                     <td><asp:Label ID="CreatedBy" runat="server" Text='<%# Eval("CreatedBy")  %>' Visible="false"></asp:Label>
                     <asp:Label ID="CreatedByName" runat="server"></asp:Label></td>
                     <td><asp:Label ID="IsTrack" runat="server"></asp:Label></td>
                     <td class="tdautolen"><asp:Label ID="Label1" runat="server" Text='<%# Eval("Evaluationdesc") %>' ToolTip='<%# Eval("Evaluationdesc")%>'></asp:Label>
                     <td></td>
                </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                    </tbody>
                </table>  
                 </FooterTemplate>
             </asp:Repeater>    
               <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator"  
                            CurrentPageButtonClass="cpb" 
                            CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条" 
                            FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                            ShowCustomInfoSection="Left" Width="100%" LayoutType="Table"  
                            SubmitButtonClass="but" SubmitButtonText="转到" OnPageChanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>    
         </div>
</asp:Content>
